<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class BuildDetailed extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('build_detailed',function (Blueprint $table){
            $table->engine="InnoDB";
            $table->increments('id');
            $table->integer('build_id');
            $table->char('word');
            $table->string('word_wordkey');
            $table->text('word_text');
            $table->char('word_img');
            $table->char('count');
            $table->string('count_wordkey');
            $table->text('count_text');
            $table->char('count_img');
            $table->char('year');
            $table->string('year_wordkey');
            $table->char('year_time_one_name');
            $table->char('year_time_one');
            $table->char('year_time_two_name');
            $table->char('year_time_two');
            $table->char('year_time_three_name');
            $table->char('year_time_three');
            $table->char('personae');
            $table->char('personae_wordkey');
            $table->char('personae_text');
            $table->char('personae_img');
            $table->char('team');
            $table->char('team_wordkey');
            $table->char('team_text');
            $table->char('team_img');
            $table->char('end');
            $table->char('end_text');
            $table->char('end_img');
            $table->rememberToken();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('build_detailed');
    }
}
